package edu.biwu.mapper;

import edu.biwu.po.Product;
import edu.biwu.po.Student;
import edu.biwu.vo.QueryVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StudentMapper {

    List<Student>selectByCondition(QueryVo queryVo);

    /**
     * 根据多个学号查询
     * @param queryVo
     * @return 学生对象集合
     */
    List<Student> selectBySno(QueryVo queryVo);


    List<Student> selectStudentsByChoose(@Param("sno") Integer sno,
                                         @Param("sname") String sanme);
}
